<?php


class Response {
	public static function redirect($url, array $parameters = array()) {
		$url .= (strpos($url, "?") === false ? "?" : "&") . http_build_query($parameters);
		header("Location: $url");
	}
}
